import request from '@/utils/request'

// 查询事项流程列表
export function listWfMattersProcess(query) {
  return request({
    url: '/process/wfMattersProcess/list',
    method: 'get',
    params: query
  })
}

export function allListWfMattersProcess() {
  return request({
    url: '/process/wfMattersProcess/allList',
    method: 'get'
  })
}

// 查询事项流程详细
export function getWfMattersProcess(id) {
  return request({
    url: '/process/wfMattersProcess/' + id,
    method: 'get'
  })
}

// 保存事项流程
export function saveWfMattersProcess(data) {
  return request({
    url: '/process/wfMattersProcess/save',
    method: 'post',
    data: data
  })
}

// 删除事项流程
export function delWfMattersProcess(id) {
  return request({
    url: '/process/wfMattersProcess/' + id,
    method: 'delete'
  })
}

